package com.service;


import com.domain.PromotionAd;
import com.domain.PromotionAdVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface PromotionAdService {
    /*
     * 分页查询
     * */
    public PageInfo<PromotionAd> findAllPromotionAdByPage(PromotionAdVo promotionAdVo);
    /*
     * 添加广告
     * */
    public void savePromotionAd(PromotionAd promotionAd);

    /*
     * 修改广告
     * */
    public void updatePromotionAd(PromotionAd promotionAd);
    /*
     * 回显广告
     * */
    public PromotionAd findPromotionAdById(int id);

    /*
     * /修改广告状态
     * */
    public void updatePromotionAdStatus(int id, int status);
}
